﻿<Window x:Class="Ledenadministratie.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Ledenlijst Sportvereniging" Height="450" Width="490" MinWidth="490" MinHeight="450" MaxWidth="490" MaxHeight="450">
    <Grid Margin="0,0,2,0">
        <Label x:Name="lblNaam" Content="Naam" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top"/>
        <Label x:Name="lblLeeftijd" Content="Leeftijd" HorizontalAlignment="Left" Margin="10,40,0,0" VerticalAlignment="Top"/>
        <Label x:Name="lblAdres" Content="Adres" HorizontalAlignment="Left" Margin="10,70,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="tboxNaam" HorizontalAlignment="Left" Height="23" Margin="130,13,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="200"/>
        <TextBox x:Name="tboxLeeftijd" HorizontalAlignment="Left" Height="23" Margin="130,40,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="200"/>
        <TextBox x:Name="tboxAdres" HorizontalAlignment="Left" Height="79" Margin="130,70,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="340" AcceptsReturn="True" ToolTip="Het invullen van het adres is optioneel"/>
        <Label x:Name="lblSoortLid" Content="Soort lid" HorizontalAlignment="Left" Margin="10,161,0,0" VerticalAlignment="Top"/>
        <RadioButton x:Name="radAspirant" Content="Aspirant" HorizontalAlignment="Left" Margin="130,166,0,0" VerticalAlignment="Top" ToolTip="Aspirante leden kunnen tegen een gereduceerd bedrag kennismaken met de sport" Checked="radAspirant_Checked"/>
        <RadioButton x:Name="radJunior" Content="Junior" HorizontalAlignment="Left" Margin="210,166,0,0" VerticalAlignment="Top" ToolTip="Junior leden zijn jonger dan 18 jaar" Checked="radJunior_Checked"/>
        <RadioButton x:Name="radSenior" Content="Senior" HorizontalAlignment="Left" Margin="280,166,0,0" VerticalAlignment="Top" ToolTip="Senior leden zijn 18 jaar of ouder" RenderTransformOrigin="0.469,1.185" Checked="radSenior_Checked"/>
        <Label x:Name="lblSoortLid_Copy" Content="Speelt competitie" HorizontalAlignment="Left" Margin="10,187,0,0" VerticalAlignment="Top"/>
        <CheckBox x:Name="cboxCompetitie" Content="(alleen senioren)" HorizontalAlignment="Left" Margin="130,192,0,0" VerticalAlignment="Top" ToolTip="Vink deze checkbox aan indien dit lid meedoet aan competities" IsEnabled="False"/>
        <Button x:Name="btnToevoegen" Content="Voeg toe" Margin="335,13,10,0" VerticalAlignment="Top" Height="50" RenderTransformOrigin="0.522,0.474" Click="btnToevoegen_Click"/>
        <Label x:Name="lblLedenlijst" Content="Ledenlijst" HorizontalAlignment="Left" Margin="10,226,0,0" VerticalAlignment="Top"/>
        <TextBox x:Name="tboxLidgegevens" HorizontalAlignment="Left" Height="80" Margin="243,250,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="226" AcceptsReturn="True"/>
        <Label x:Name="lblLidgegevens" Content="Lidgegevens" HorizontalAlignment="Left" Margin="243,226,0,0" VerticalAlignment="Top"/>
        <Button x:Name="btnOudsteSenior" Content="Oudste senior lid" HorizontalAlignment="Left" Margin="243,337,0,0" VerticalAlignment="Top" Width="226" Height="34" RenderTransformOrigin="0.522,0.474" Click="btnOudsteSenior_Click"/>
        <Button x:Name="btnGemiddeldeLeeftijdAspirant" Content="Gemiddelde leeftijd aspirantleden" HorizontalAlignment="Left" Margin="243,376,0,0" VerticalAlignment="Top" Width="226" Height="34" RenderTransformOrigin="0.522,0.474" Click="btnGemiddeldeLeeftijdAspirant_Click"/>
        <ListBox x:Name="lboxLedenlijst" HorizontalAlignment="Left" Height="160" Margin="10,250,0,0" VerticalAlignment="Top" Width="224" SelectionChanged="lboxLedenlijst_SelectionChanged"/>
    </Grid>
</Window>
